package com.ruoyi.patient.entity;

import com.ruoyi.service.domain.ServiceCombo;
import com.ruoyi.service.domain.ServicePackages;

import java.util.List;

/**
 * 服务套餐耗材包关系体
 *
 * @author ZDL
 */
public class ComboPackageReturn extends ServiceCombo {

    //耗材包
    private List<ServicePackages> packages;

    public List<ServicePackages> getPackages() {
        return packages;
    }

    public void setPackages(List<ServicePackages> packages) {
        this.packages = packages;
    }

    public void setCombo(ServiceCombo combo){
        this.setComboId(combo.getComboId());
        this.setComboName(combo.getComboName());
        this.setComboPrice(combo.getComboPrice());
        this.setComboCurrentprice(combo.getComboCurrentprice());
        this.setComboRate(combo.getComboRate());
        this.setComboIllustrate(combo.getComboIllustrate());
        this.setComboUseFlag(combo.getComboUseFlag());
        this.setComboCreateBy(combo.getComboCreateBy());
        this.setComboCreateTime(combo.getComboCreateTime());
        this.setComboUpdateBy(combo.getComboUpdateBy());
        this.setComboUpdateTime(combo.getComboUpdateTime());
        this.setComboDelFlag(combo.getComboDelFlag());
        this.setComboRemark(combo.getComboRemark());
    }
}
